<template>
  <div>
    <div class="dashboard-container">
      

      <div class="big-back-box">
        <div class="top" style="margin-bottom: 20px">查看账户信息</div>
        <!-- 卡片 -->
        <div style="width: 600px; margin: 0 auto">
          <el-form ref="form" :model="form" label-width="100px">
            <el-form-item label="头像">
              <div style="margin: 0 auto">
                <el-image style="width: 100px; height: 100px" :src="form.picture"></el-image>
              </div>
            </el-form-item>
            <el-form-item label="企业名称">
              <el-input v-model="form.enterpriseName" :disabled="true"></el-input>
            </el-form-item>
            <el-form-item label="公司性质">
              <el-input v-model="form.companyNature" :disabled="true"></el-input>
            </el-form-item>
            <!--  -->
            <el-form-item label="成立日期">
              <el-input v-model="form.establishmentDate" :disabled="true"></el-input>
            </el-form-item>
            <!--  -->
            <el-form-item label="注册地点">
              <el-input v-model="form.registrationPlace" :disabled="true"></el-input>
            </el-form-item>
            <!--  -->
            <el-form-item label="办公地点">
              <el-input v-model="form.officeLocation" :disabled="true"></el-input>
            </el-form-item>
            <!--  -->
            <el-form-item label="注册资本">
              <el-input v-model="form.registeredCapital" :disabled="true"></el-input>
            </el-form-item>
            <!--  -->
            <el-form-item label="投资金额">
              <el-input v-model="form.investmentAmount" :disabled="true"></el-input>
            </el-form-item>
            <!--  -->
            <el-form-item label="股东">
              <el-input v-model="form.shareholder" :disabled="true"></el-input>
            </el-form-item>
            <!--  -->
            <el-form-item label="董事">
              <el-input v-model="form.director" :disabled="true"></el-input>
            </el-form-item>
            <!--  -->
            <el-form-item label="监事">
              <el-input v-model="form.supervisor" :disabled="true"></el-input>
            </el-form-item>
            <!--  -->
            <el-form-item label="经理">
              <el-input v-model="form.manager" :disabled="true"></el-input>
            </el-form-item>
            <!--  -->
            <el-form-item label="分支机构">
              <el-input v-model="form.branchOffice" :disabled="true"></el-input>
            </el-form-item>
            <!--  -->
            <el-form-item label="状态">
              <el-input v-model="form.state" :disabled="true"></el-input>
            </el-form-item>
            <!--  -->
            <el-form-item label="法律求助资质">
              <el-input v-model="form.legalAid" :disabled="true"></el-input>
            </el-form-item>
            <!--  -->
            <el-form-item label="公司服务资质">
              <el-input v-model="form.companyService" :disabled="true"></el-input>
            </el-form-item>
            <!--  -->
            <el-form-item label="资质证照资质">
              <el-input v-model="form.qualificationCertificate" :disabled="true"></el-input>
            </el-form-item>
            <!--  -->
            <el-form-item label="优质机构">
              <el-input v-model="form.qualityOrganization" :disabled="true"></el-input>
            </el-form-item>
            <!-- 按钮 -->
            <el-form-item>
              <!-- <el-button type="primary" @click="onSubmit">修改</el-button> -->
              <!-- <el-button>返回</el-button> -->
            </el-form-item>
          </el-form>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import { returnUserInformation } from "@/api/common";
export default {
  mounted() {
    returnUserInformation().then(res => {
      this.form = res.data.user;
    });
  },
  data() {
    return {
      size: "",
      form: {}
    };
  }
};
</script>

<style lang="scss" scoped>
// 页头LOGO
.top {
  height: 50px;
  font-size: 30px;
  text-align: center;
  line-height: 50px;
}

// 大盒子
.big-back-box {
  width: 1080px;
  margin: 0 auto;
}

// 原框架自带
.dashboard {
  &-container {
    margin-top: 30px;
    // margin-left: 30px;
    // margin-right: 30px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}

// 页脚
.footer {
  height: 300px;
  background-color: blue;
}
.footer-back-box {
  width: 1080px;
  margin-left: 45px;
}
.footer-title {
  height: 30px;
  line-height: 40px;
  padding-left: 10px;
}
.footer-link-card {
  width: 200px;
  background-color: orange;
  margin-left: 10px;
}

// 模板-卡片
.text {
  font-size: 14px;
}
.item {
  padding: 18px 0;
}
.box-card {
  width: 480px;
}
</style>